.TH E1432_SET_MAX_ORDER 3 E1432
.SH NAME
.nf
e1432_set_max_order \- Set the upper limit for resampled time data
e1432_get_max_order \- Get the upper limit for resampled time data
.fi
.IX e1432_set_max_order(3) 3
.IX e1432_get_max_order(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_set_max_order(E1432ID hw, SHORTSIZ16 ID,
                             FLOATSIZ32 max)
SHORTSIZ16 e1432_get_max_order(E1432ID hw, SHORTSIZ16 ID,
                             FLOATSIZ32 *max)
.cE
.SH DESCRIPTION
\fIe1432_set_max_order\fR sets the upper frequency limit of the resampled time
data.  This data is in the revolution domain.  The \fImax\fR parameter is
the upper limit expressed in units of a tachometer revolution (order) of
the resampled data from the order tracking measurement.  The max order 
multiplied by
the tach signal frequency is the upper frequency limit of a signal to the
inputs that can be reliably analysed by the order tracking algorithm.
Resampled data calculation is activated by the \fIe1432_set_calc_data\fR
function.

\fIe1432_get_max_order\fR returns the resampled time data upper limit
into the variable pointed to by \fImax\fR.

\fIhw\fR must be the result of a successful call to
\fIe1432_assign_channel_numbers\fR, and specifies the group of
hardware to talk to.

\fIID\fR is either the ID of a group of channels that was obtained
with a call to \fIe1432_create_channel_group\fR, or the ID of a single
channel.

\fImax\fR specifies the resampled time data upper frequency limit.

\fBNOTE:\fR  When doing an order track measurement, the following relationship
must hold between these parameters:

	max_order <= blocksize * delta_order / 5.12

or an \fBERR1432_ILLEGAL_BLOCK_ORDER_COMBO\fR error will be issued when the
measurement starts.

.SH "RESET VALUE"
After a reset, \fImax\fR is set to 10.0.
.SH "RETURN VALUE"
Return 0 if successful, a (negative) error number otherwise.
.SH "SEE ALSO"
.na
e1432_get_max_order_limits, e1432_set_blocksize, e1432_set_calc_data, 
e1432_set_delta_order 
.ad
